package com.hujiang.basic.search.search.main;

import com.hujiang.basic.framework.plugin.swagger.config.SwaggerConfig;
import com.hujiang.basic.framework.rest.main.HJApplication;
import com.hujiang.basic.search.common.component.ElasticSearchConfig;
import com.hujiang.basic.search.fullindex.ScheduleConfig;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;


@SpringBootApplication
@ComponentScan({"com.hujiang.basic.search",
        "com.hujiang.basic.framework.rest.monitor", "com.hujiang.basic.framework.dao"})
@Import({ElasticSearchConfig.class, SwaggerConfig.class, ScheduleConfig.class})
public class ApplicationStart {
    public static void main(String[] args) {
        HJApplication.start(ApplicationStart.class, args);
    }
}
